package com.neutech.maplestory.entity;

import com.neutech.maplestory.client.MapleStoryClient;
import com.neutech.maplestory.util.ImageUtil;

import java.awt.*;

public class Bar extends AbstractMapleStoryObject {
    public Image img;
    public Bar(){
        this.x = 600;
        this.y = 700;
    }
    public Bar(MapleStoryClient msc){
        this();
        this.msc = msc;
        this.img = ImageUtil.getImage("bar");
        this.width = img.getWidth(null);
        this.height = img.getHeight(null);
    }
    @Override
    public void draw(Graphics g) {
        g.drawImage(img,x,y,null);
    }
}
